encoding/binary.nativeEndian.Uint32 (method, view implemented interface methods)
72 uses
encoding/binary (current package)
binary.go#L79: func (littleEndian) Uint32(b []byte) uint32 {
compress/gzip
gunzip.go#L189: if t := int64(le.Uint32(z.buf[4:8])); t > 0 {
gunzip.go#L265: digest := le.Uint32(z.buf[:4])
gunzip.go#L266: size := le.Uint32(z.buf[4:8])
crypto/md5
md5block.go#L27: x0 := binary.LittleEndian.Uint32(q[4*0x0:])
md5block.go#L28: x1 := binary.LittleEndian.Uint32(q[4*0x1:])
md5block.go#L29: x2 := binary.LittleEndian.Uint32(q[4*0x2:])
md5block.go#L30: x3 := binary.LittleEndian.Uint32(q[4*0x3:])
md5block.go#L31: x4 := binary.LittleEndian.Uint32(q[4*0x4:])
md5block.go#L32: x5 := binary.LittleEndian.Uint32(q[4*0x5:])
md5block.go#L33: x6 := binary.LittleEndian.Uint32(q[4*0x6:])
md5block.go#L34: x7 := binary.LittleEndian.Uint32(q[4*0x7:])
md5block.go#L35: x8 := binary.LittleEndian.Uint32(q[4*0x8:])
md5block.go#L36: x9 := binary.LittleEndian.Uint32(q[4*0x9:])
md5block.go#L37: xa := binary.LittleEndian.Uint32(q[4*0xa:])
md5block.go#L38: xb := binary.LittleEndian.Uint32(q[4*0xb:])
md5block.go#L39: xc := binary.LittleEndian.Uint32(q[4*0xc:])
md5block.go#L40: xd := binary.LittleEndian.Uint32(q[4*0xd:])
md5block.go#L41: xe := binary.LittleEndian.Uint32(q[4*0xe:])
md5block.go#L42: xf := binary.LittleEndian.Uint32(q[4*0xf:])
crypto/tls
handshake_server_tls13.go#L865: m.ageAdd = binary.LittleEndian.Uint32(ageAdd)
github.com/gotd/td/bin
decode.go#L14: v := binary.LittleEndian.Uint32(b.Buf)
github.com/gotd/td/internal/mtproxy/faketls
client_hello.go#L116: old := binary.LittleEndian.Uint32(b.Buf[randomOffset+28 : randomOffset+32])
github.com/gotd/td/internal/mtproxy/obfuscated2
keys_util.go#L44: firstInt := binary.LittleEndian.Uint32(init[0:4])
keys_util.go#L55: if secondInt := binary.LittleEndian.Uint32(init[4:8]); secondInt == 0 {
github.com/gotd/td/internal/proto/codec
codec.go#L37: n := int(binary.LittleEndian.Uint32(b.Buf[:bin.Word]))
github.com/gotd/td/session/tdesktop
file.go#L98: v := binary.LittleEndian.Uint32(version[:])
github.com/klauspost/compress/flate
deflate.go#L377: return hash4u(binary.LittleEndian.Uint32(b), hashBits)
deflate.go#L392: hb := binary.LittleEndian.Uint32(b)
fast_encoder.go#L61: return binary.LittleEndian.Uint32(b[i:])
github.com/klauspost/compress/gzip
gunzip.go#L198: hdr.ModTime = time.Unix(int64(le.Uint32(z.buf[4:8])), 0)
gunzip.go#L275: digest := le.Uint32(z.buf[:4])
gunzip.go#L276: size := le.Uint32(z.buf[4:8])
gunzip.go#L353: digest := le.Uint32(z.buf[:4])
gunzip.go#L354: size := le.Uint32(z.buf[4:8])
nhooyr.io/websocket
frame.go#L99: h.maskKey = binary.LittleEndian.Uint32(readBuf)
frame.go#L284: v := binary.LittleEndian.Uint32(b)
write.go#L301: c.writeHeader.maskKey = binary.LittleEndian.Uint32(c.writeHeaderBuf[:])
vendor/golang.org/x/crypto/chacha20
chacha_generic.go#L98: binary.LittleEndian.Uint32(key[0:4]),
chacha_generic.go#L99: binary.LittleEndian.Uint32(key[4:8]),
chacha_generic.go#L100: binary.LittleEndian.Uint32(key[8:12]),
chacha_generic.go#L101: binary.LittleEndian.Uint32(key[12:16]),
chacha_generic.go#L102: binary.LittleEndian.Uint32(key[16:20]),
chacha_generic.go#L103: binary.LittleEndian.Uint32(key[20:24]),
chacha_generic.go#L104: binary.LittleEndian.Uint32(key[24:28]),
chacha_generic.go#L105: binary.LittleEndian.Uint32(key[28:32]),
chacha_generic.go#L108: binary.LittleEndian.Uint32(nonce[0:4]),
chacha_generic.go#L109: binary.LittleEndian.Uint32(nonce[4:8]),
chacha_generic.go#L110: binary.LittleEndian.Uint32(nonce[8:12]),
chacha_generic.go#L361: x4 := binary.LittleEndian.Uint32(key[0:4])
chacha_generic.go#L362: x5 := binary.LittleEndian.Uint32(key[4:8])
chacha_generic.go#L363: x6 := binary.LittleEndian.Uint32(key[8:12])
chacha_generic.go#L364: x7 := binary.LittleEndian.Uint32(key[12:16])
chacha_generic.go#L365: x8 := binary.LittleEndian.Uint32(key[16:20])
chacha_generic.go#L366: x9 := binary.LittleEndian.Uint32(key[20:24])
chacha_generic.go#L367: x10 := binary.LittleEndian.Uint32(key[24:28])
chacha_generic.go#L368: x11 := binary.LittleEndian.Uint32(key[28:32])
chacha_generic.go#L369: x12 := binary.LittleEndian.Uint32(nonce[0:4])
chacha_generic.go#L370: x13 := binary.LittleEndian.Uint32(nonce[4:8])
chacha_generic.go#L371: x14 := binary.LittleEndian.Uint32(nonce[8:12])
chacha_generic.go#L372: x15 := binary.LittleEndian.Uint32(nonce[12:16])
vendor/golang.org/x/crypto/chacha20poly1305
chacha20poly1305_amd64.go#L35: state[4] = binary.LittleEndian.Uint32(key[0:4])
chacha20poly1305_amd64.go#L36: state[5] = binary.LittleEndian.Uint32(key[4:8])
chacha20poly1305_amd64.go#L37: state[6] = binary.LittleEndian.Uint32(key[8:12])
chacha20poly1305_amd64.go#L38: state[7] = binary.LittleEndian.Uint32(key[12:16])
chacha20poly1305_amd64.go#L39: state[8] = binary.LittleEndian.Uint32(key[16:20])
chacha20poly1305_amd64.go#L40: state[9] = binary.LittleEndian.Uint32(key[20:24])
chacha20poly1305_amd64.go#L41: state[10] = binary.LittleEndian.Uint32(key[24:28])
chacha20poly1305_amd64.go#L42: state[11] = binary.LittleEndian.Uint32(key[28:32])
chacha20poly1305_amd64.go#L45: state[13] = binary.LittleEndian.Uint32(nonce[0:4])
chacha20poly1305_amd64.go#L46: state[14] = binary.LittleEndian.Uint32(nonce[4:8])
chacha20poly1305_amd64.go#L47: state[15] = binary.LittleEndian.Uint32(nonce[8:12])
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |